home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Tool Chest / Developer Utilities / Installer 4.0.3 SDK / Script Examples / File Compare Vers & Date / Makefile next >
Encoding:
Makefile  |  1994-11-15  |  1.4 KB  |  36 lines  |  [TEXT/MPS ]

  1. #
  2. #    mark young • 08/30/94
  3. #    
  4.  
  5. # To build this example, choose the "Build…" menu item from within
  6. # the "Build" menu in MPW. When asked for Program Name, type in the 
  7. # script name, in this case "MySimpleCompare" ( without double quotes ) 
  8. # and press the Enter key. Be sure that the Current Working Directory
  9. # for MPW is set to the directory containing this example.
  10.  
  11. # To build the Debugger version of this example, choose the "Build…" 
  12. # menu item from within the "Build" menu in MPW. When asked for Program 
  13. # Name, type in the script name, in this case "MySimpleCompare.debug"
  14. # ( without double quotes ) and press the Enter key. Be sure that the Current 
  15. # Working Directory for MPW is set to the directory containing this example.
  16.  
  17. scriptName                = MySimpleCompare
  18. debugScriptName            = {scriptName}.debug
  19.  
  20. InstallerRIncDir        = :::DeveloperInterfaces:RIncludes:
  21. InstallerDebuggerDir    = :::Installer Debugger 4.0:
  22. ScriptCheckDir            = :::ScriptCheck 4.0.3:
  23.  
  24.  
  25. "{debugScriptName}" ƒ {scriptName}
  26.     Duplicate -y "{scriptName}" "{scriptName} w/ Debugger"
  27.     Rez -m "{InstallerDebuggerDir}Installer Debugger.r" -append -o "{scriptName} w/ Debugger"
  28.  
  29. "{scriptName}" ƒ "{scriptName}.r"
  30.     set theTime    "'`date -d -s` 12:00:00 PM'"
  31.     Rez "{scriptName}.r" -o "{scriptName}" -t 'kajr' -c 'kajr'  -i "{InstallerRIncDir}"
  32.     SetFile -a b -d {theTime} "{scriptName}"
  33.     "{ScriptCheckDir}ScriptCheck" "{scriptName}" -h -d -a
  34.     SetFile -m {theTime} "{scriptName}"
  35.  
  36.